home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
481a.lha
/
AMIGA C MANUAL_v2.00
/
CMAN2.LZH
/
HintsAndTips
/
Example2.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-01-27
|
404b
|
18 lines
/* Example 2 */
/* This program will print "Hello!" in the CLI window if */
/* started from CLI, or the text will be printed in a special */
/* window that is automatically opened if run from workbench. */
void main();
void main()
{
int loop;
printf( "Hello!\n" );
/* Wait for a while: */
for( loop = 0; loop < 500000; loop++ )
;
}